#include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL,"");
int D,A,B;
cout<<"input A= : ";
cin>>A;
cout<<"input B= : ";
cin>>B;
 D=A%B;
cout<<"D = "<<D<<""<<endl;
return 0;
}
